package com.ruoyi.web.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.web.enums.ArticleTypeEnum;
import com.ruoyi.web.enums.CountEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description:
 * @author: zhengxiong.jiang
 * @createDate: 2023/11/16
 * @version: 1.0
 */
@Data
@ApiModel(value = "ArticleRequestDTO", description = "策略设计模式-文章请求接口参数")
public class ArticleRequestDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 文章标题 */
    @ApiModelProperty("文章标题")
    private String title;

    /** 文章类型 */
    @NotNull
    @ApiModelProperty("文章类型")
    private ArticleTypeEnum articleType;

    /** 计算符号 */
    @NotNull
    @ApiModelProperty("计算符号")
    private CountEnum countEnum;



}
